package com.demo.weather.server.tcp;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.demo.weather.server.WeatherServerProperties;

@Configuration
public class TcpServerAutoConfiguration {

	@ConfigurationProperties(prefix = "netty.server.tcp")
	@Bean
	public WeatherServerProperties TcpServerProperties() {
		return new WeatherServerProperties();
	}
}